<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Bootstrap 实例 - 边框表格</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
    <div class="row" style="margin-top:10px;">
        <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
            <div class="panel panel-default">
                <div class="panel-heading" role="tab" id="headingOne">
                    <h4 class="panel-title">
                        <div role="button" data-parent="#accordion" href="" aria-expanded="true">
                            <div class="glyphicon glyphicon-th-list">&nbsp;新增数据</div>
                            <a href="{:url('index')}" class="glyphicon" style="float:right;text-decoration:none">&nbsp;返回</a>
                        </div>
                    </h4>
                </div>
                <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel">
                    <div class="panel-body">
                        <div class="row">
                            <div class="col-xs-3"></div>
                            <div class="col-xs-6">
                                <form method="post" action="insert">
                                    <div class="form-group">
                                        <label>学校名称:</label>
                                        <input type="text" class="form-control" style='width:100%;' name="title" placeholder="">
                                    </div>
                                    <div class="form-group">
                                        <label>学校地址:</label>
                                        <input type="" class="form-control" name="addr" placeholder="">
                                    </div>
                                    <div class="form-group">
                                        <label>联系方式:</label>
                                        <input type="text" class="form-control" name="tel" placeholder="">
                                    </div>
                                    <button type="submit" class="btn btn-primary" style="padding: 5px 50px;">确定</button>
                                </form>
                            </div>
                            <div class="col-xs-3"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>
</body>
</html>